require File.dirname(__FILE__)+ '/../zddi'
require File.dirname(__FILE__)+ '/../cloud'
class TEST_CLOUD
    CLOUD_GROUP = ZDDI::CLOUD::GROUP.new 
    def test_create_group
        r = []
        r.push(CLOUD_GROUP.create_member(:group_name=>"test", :member_name=>"9.16", :ip=>"202.173.9.16"))
        r.push(CLOUD_GROUP.create_member(:group_name=>"test", :member_name=>"9.24", :ip=>"202.173.9.24"))
        return r
    end
    def test_del_group
        r = []
        r.push(CLOUD_GROUP.del_member(:group_name=>"test", :member_name=>"9.16"))
        r.push(CLOUD_GROUP.del_member(:group_name=>"test", :member_name=>"9.24"))
        return r
    end
    def test_device_manage
        r = []
        r.push(ZDDI::CLOUD.open_manage_page)
        return r

    end
end
